import { Notification } from 'element-ui'

export default ({ title = '成功', message, type = 'success', duration = 2500 }) => {
  Notification({
    title,
    message,
    type,
    duration
  })
}
